Add agentic issue triage workflow (#2484)#3012
Merged
RickWinter merged 5 commits intoJul 10, 2026
Merged
Conversation
Adds a gh-aw Issue Triage Agent that classifies new/reopened issues, applies classification, area, and special labels, sets Issue Type and Priority fields, and posts a rationale comment with an owner recommendation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new GitHub Agentic Workflow (gh-aw) to automatically triage newly opened/reopened issues by applying labels, setting issue type/fields, and posting a rationale comment. This fits alongside existing repo automation by focusing on semantic classification and metadata assignment.
Changes:
- Added gh-aw workflow source for issue triage (
issue-triage-agent.md) describing classification, labeling, field updates, and commenting behavior. - Added the compiled/locked GitHub Actions workflow (
issue-triage-agent.lock.yml) generated viagh aw compile. - Updated the gh-aw setup action pin in
.github/aw/actions-lock.json.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/issue-triage-agent.md | Defines the agent prompt/spec for issue triage (labels, fields, rationale comment). |
| .github/workflows/issue-triage-agent.lock.yml | Generated workflow that executes the agent with firewall + safe-outputs enforcement. |
| .github/aw/actions-lock.json | Bumps the pinned github/gh-aw-actions/setup action version used by gh-aw compilation. |
Address PR review feedback: restrict the github MCP guard policy to the current repository via allowed-repos, and resolve the guardrail contradiction so the workflow only ever adds labels. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Disable gh-aw automatic report-incomplete issue creation and report unavailable triage configuration in the triggering issue comment instead. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Retain report-incomplete in a single tracking issue while skipping that issue's triage run to prevent recursion. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Declare the optional workflow-dispatch issue_number input required by gh aw trial trigger contexts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
g2vinay
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements an agentic issue triage workflow for the repository (closes #2484). When an issue is opened or reopened, a GitHub Agentic Workflow (
gh-aw) analyzes the content and applies triage metadata, then posts a concise rationale comment.What it does
bug,enhancement,question, orengineering item.tools-*,server-*,packages-*), extension labels, and special labels (blocker,regression,customer-reported,automation,agentic-workflows) when the content supports them. Labels that do not exist in the repo are skipped.bug->Bug,enhancement->Feature,question/engineering item->Task.report-incomplete.Guardrails
report-incompleteinstead of guessing when required labels or field options are unavailable.Scope boundary
The existing
event-processorworkflow remains the owner of lifecycle automation (stale handling, close/lock, team-triage routing). This new workflow only handles semantic classification and issue-field assignment, so the two do not conflict.Files
.github/workflows/issue-triage-agent.md(workflow source).github/workflows/issue-triage-agent.lock.yml(compiled viagh aw compile).github/aw/actions-lock.json(setup action pin bumped by the compiler)Validation
gh aw compile issue-triage-agent: 0 errors, 0 warningsgh aw validate issue-triage-agent: passedInvoke-Cspell.ps1: passedInvoking Livetests
Copilot submitted PRs are not trustworthy by default. Users with
writeaccess to the repo need to validate the contents of this PR before leaving a comment with the text/azp run mcp - pullrequest - live. This will trigger the necessary livetest workflows to complete required validation.